﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Think.Lenovo.Com.qiantai.index" %>

<%@ Import Namespace="Think.Lenovo.Com.Models" %>
<%@ Import Namespace="Think.Lenovo.Com.Models.Users" %>
<%@ Import Namespace="Think.Lenovo.Com.Common" %>
<%@ Register TagPrefix="Left" TagName="left" Src="/home/controls/left.ascx" %>
<%@ Register TagPrefix="Header" TagName="header" Src="/home/controls/header.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Think派首页-Thinkpartner</title>
    <link href="style/main.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="js/main.js"></script>
</head>
<body>
    <div id="outer">
        <!--头部代码-->
        <Header:header runat="server"></Header:header>
        <!--头部代码 结束-->
        <!--Banner-->
        <div class="banner" id="banner">
            <div class="banner_tab clearfix">
                <!--small-->
                <ul>
                    <li id="tab_tophome_1" class="on"><a href="#" onmousemove="startIndex=1;setTab('tophome',4,1,'out','on');"
                        onclick="javascript:pgvSendClick({hottag:'KF.SERVICE.INDEX.PHONE_2'});">
                        <img src="images/banner.jpg" class="tab_img" alt="#" /></a></li>
                    <li id="tab_tophome_2" class="out"><a href="#" target="_blank" onmousemove="startIndex=2;setTab('tophome',4,2,'out','on');"
                        onclick="javascript:pgvSendClick({hottag:'KF.SERVICE.INDEX.SELF_2'});">
                        <img src="images/banner.jpg" class="tab_img" alt="#" /></a></li>
                    <li id="tab_tophome_3" class="out"><a href="#" target="_blank" onmousemove="startIndex=3;setTab('tophome',4,3,'out','on');"
                        onclick="javascript:pgvSendClick({hottag:'KF.SERVICE.INDEX.STUDY_2'});">
                        <img src="images/banner.jpg" class="tab_img" alt="#" /></a></li>
                    <li id="tab_tophome_4" class="out"><a href="#" target="_blank" onmousemove="startIndex=4;setTab('tophome',4,4,'out','on');"
                        onclick="javascript:pgvSendClick({hottag:'KF.SERVICE.INDEX.SOSO_2'});">
                        <img src="images/banner.jpg" class="tab_img" alt="#" /></a></li>
                </ul>
            </div>
            <!--big-->
            <div>
                <div id="con_tophome_1">
                    <a href="#" target="_blank" onclick="javascript:pgvSendClick({hottag:'KF.SERVICE.INDEX.PHONE_1'});">
                        <img src="images/banner.jpg" alt="#" /></a></div>
                <div id="con_tophome_2" class="hidecontent">
                    <a href="#" target="_blank" onclick="javascript:pgvSendClick({hottag:'KF.SERVICE.INDEX.SELF_1'});">
                        <img src="images/banner.jpg" alt="#" /></a></div>
                <div id="con_tophome_3" class="hidecontent">
                    <a href="#" target="_blank" onclick="javascript:pgvSendClick({hottag:'KF.SERVICE.INDEX.STUDY_1'});">
                        <img src="images/banner.jpg" alt="#" /></a></div>
                <div id="con_tophome_4" class="hidecontent">
                    <a href="#" target="_blank" onclick="javascript:pgvSendClick({hottag:'KF.SERVICE.INDEX.SOSO_1'});">
                        <img src="images/banner.jpg" alt="#" /></a></div>
                <div class="clear">
                </div>
                <div class="banner-text">
                    <span class="tel400">服务热线：4008-855-086</span></div>
                <div class="lineby">
                </div>
            </div>
        </div>
        <!--Banner 结束-->
        <!--标语-->
        <div id="slogin">
            加入Think派，享受专属会员优惠、市场动态、沟通能力、奖励政策、营销物料支持!</div>
        <!--标语 结束-->
        <!--链接图片-->
        <div id="imagelinks">
        <a href="/home/productChannel.aspx"><img src="images/imagemenu1.jpg" width="313" height="158" class="r8px" /></a><a href="#"><img src="images/imagemenu2.jpg" width="313" height="158" class="r8px" /></a><a href="#"><img src="images/imagemenu3.jpg" width="313" height="158" /></a>
        </div>
        <!--链接图片 结束-->
        <!--网站底部-->
        <div id="footer">
            版权所有：1998－2011 联想集团
        </div>
        <!--网站底部 结束-->
        <!--Banner javascript-->
        <script type="text/javascript">
            function setTab(/*string*/name, /*int*/itemCnt, /*int*/curItem, /**/classHide, /**/classShow) {
                for (i = 1; i <= itemCnt; i++) {
                    eval("document.getElementById('tab_" + name + "_" + i + "').className='" + classHide + "'");
                }
                eval("document.getElementById('tab_" + name + "_" + curItem + "').className='" + classShow + "'");

                for (i = 1; i <= itemCnt; i++) {
                    eval("ele_hide = document.getElementById('con_" + name + "_" + i + "')");
                    if (ele_hide) ele_hide.style.display = "none";
                }
                eval("ele_play = document.getElementById('con_" + name + "_" + curItem + "')");
                if (ele_play) ele_play.style.display = "block";
            }
        </script>
        <script type="text/javascript">
            var pause = false;
            var con_num = 4;
            var startIndex = 1;
            function setLoop() {
                try {
                    var oScroll = document.getElementById('banner');
                    oScroll.noWrap = true;
                    oScroll.onmouseover = function (e) { pause = true; };
                    oScroll.onmouseout = function (e) { pause = false; };
                    setInterval('scrollTopHome()', 3000);
                } catch (e) { alert(e.toString()); }
            }
            function scrollTopHome() {
                if (pause) return;
                startIndex += 1;
                if (startIndex > con_num) { startIndex = 1; }
                setTab('tophome', 4, startIndex, 'out', 'on');
            }
            setLoop();
        </script>
        <!--end-->
    </div>
</body>
</html>
